<script setup lang="ts">
import {useStore} from '@/store'
const store = useStore()
let count  = store.state.count
let doubleCount = store.getters.doubleCount

let age = store.state.users.age
let doubleAge = store.getters["users/doubleAge"]
</script>

<template>
    <div>07_状态管理.vue
      ,{{count}},{{doubleCount}},{{age}} , {{doubleAge}}
    </div>

</template>

<style scoped>

</style>